<template>
  <div class="park-introduce">
    <div class="ql-editor" v-html="content" ></div>
  </div>
</template>

<script setup lang="ts">
import { getParkIntroduce } from '@/api/park';
import { onMounted, ref } from 'vue';
// import {imageProps} from "element-plus";
// import "quill/dist/quill.core.css";
const content = ref<string>('');

onMounted(() => {
  //园区介绍
  getParkIntroduce(1).then((res: any) => {
    if (res.code === 200) {
      content.value = res.data.content;
    }
  });
});
</script>

<style lang="scss" scoped>
.park-introduce {
  padding: 20px;
}
</style>
